package com.exer2;

/**
 * @ClassName AlipayPayment
 * @Description 支付宝支付
 * @Author Kx
 * @Date 2025/4/16 19:30
 * @Version 1.0
 */
@Pay("alipayPayment")
public class AlipayPayment implements Payment {

    /***
     * @author: kx
     * @date: 2025/4/16 19:31
     * @param money : 金额
     * @description: 支付宝支付
    */
    @Override
    public void pay(double money) {
        System.out.println("Using Alipay to pay: " + money);
    }
}
